import sys
from PyQt5.QtWidgets import QApplication, QWidget
from myFrame import myFrame

def main():
    #创建QApplication类的实例
    app = QApplication(sys.argv)
    window = myFrame()
    window.show()
    sys.exit(app.exec())
    
if __name__ == '__main__':
    main()